export const startNFC = () => {
  return '0,0';
}
export const scanQrCode = () => {
  try {
    window.webkit.messageHandlers.jsscanQrCode.postMessage('');
  } catch {
    window.getQode && window.getQode('00' + new Date().getTime().toString())
    return '1'
  }
}

/**
 * explain:二维码扫描结果
 * code:结果码
 * content：扫描内容
 * @returns param {int code,String content}
 */
export const scanResult = (content) => {
  return content
}

export const getQode = (content) => {

}
